package com.catdou.formatter.model;

import com.catdou.formatter.mvc.jackson.serializer.StringNullSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.util.List;

/**
 * @author James
 */

@JsonSerialize(nullsUsing = StringNullSerializer.class)
@Data
public class User {
    private String name;

    private String password;

    private List<String> addressList;
}
